package com.softlab.okr.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: Devhui
 * @Date: 2021/6/4 23:00
 * @Email: devhui@ihui.ink
 * @Version: 1.0
 */
@Controller
public class HomeController {

    @GetMapping("/hello")
    public String Hello() {
        System.out.println("hello ");
        return "index";
    }

    @GetMapping("/hello1")
    public String Hello1() {
        System.out.println("hello ");
        return "api/index";
    }
}
